<template>
    <div class="test01">
        这是test1的值
        {{ test }}
    </div>
</template>

<script setup>
import { test } from "./index";

</script>

<style scoped>
.test01{
background-color: green;
}
</style>